import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/declarationProgress/home'
    },
    {
      path: '/declarationProgress',
      component: resolve => require(['@/pages/declarationProgress/index.vue'], resolve),
      children:[
        {
          path: '/declarationProgress/home',
          component: resolve => require(['@/pages/declarationProgress/home.vue'], resolve)
        },
        {
          
          path: '/declarationProgress/quasiDeclaration/',
          component: resolve => require(['@/pages/declarationProgress/quasiDeclaration.vue'], resolve)
        }
      ]
    },
  ]
})
